package com.bjsxt.chapter7_bridge;

/**
 * @ClassName Brand
 * @Description 品牌维度
 * @Author 黑马程序员
 * @Date 18:50 2024/6/21
 * @Version 1.0
 **/
public interface Brand {

    void sale();

}

class Lenovo implements Brand {

    @Override
    public void sale() {
        System.out.println("销售联想电脑");
    }

}

class Dell implements Brand {

    @Override
    public void sale() {
        System.out.println("销售戴尔电脑");
    }
}

class Hasee implements Brand {

    @Override
    public void sale() {
        System.out.println("销售神舟电脑");
    }
}
